package com.example.ivideo_2211a.take

import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * 视频发布API接口
 */
interface VideoPublishApi {
    
    /**
     * 发布视频
     * @param request 视频发布请求参数
     * @return Response<VideoPublishResponse> 发布结果
     */
    @POST("api/videos/publish")
    suspend fun publishVideo(
        @Body request: VideoPublishRequest
    ): Response<VideoPublishResponse>
}
